<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>QtDragon Documentation</title>
  <link href="help.css" rel="stylesheet">
</head>
<body>
<div class="sidenav">
    <img src="images/WoodPecker.png" alt="Qt_WoodPecker">
    <ul style="list-style-type:none">
    <li><a href="hole_circle_utility.html">HOLE CIRCLE UTILITY</a></li>
    <li><a href="facing_utility.html">FACING UTILITY</a></li>
    <li><a href="ngcgui.html">NGCGUI</a></li>
    <li><a href="using_a_vfd.html">USING A VFD</a></li>
    <li><a href="spindle_pause.html">SPINDLE PAUSE</a></li>
    <li><a href="z_level_comp.html">Z LEVEL COMPENSATION</a></li>
    <li><a href="using_a_mpg.html">USING A MPG</a></li>
    <li><a href="probing.html">PROBING</a></li>
    <li><a href="runfromline.html">RUN FROM LINE</a></li>
    <li><a href="stylesheets.html">STYLESHEETS</a></li>
    <li><a href="about.html">ABOUT</a></li>
    </ul>
</div>
        
<div class = "main">
<h1>USING A MPG</h1>
<p>The WoodPecker interface allows for the use of an external Manual Pulse Generator (MPG) by checking the Use MPG checkbox 
in the SETTINGS page.</p>
<p>A separate HAL file is used to define I/O pins that connect to the MPG and the <i>woodpecker_postgui.hal</i>
is used to make the connections to the WoodPecker HAL pins.</p>
<h2>AXIS SELECT</h2>
<p>Four HAL input pins are created to connect the MPG selected axis signals to the Jog joypad highlight segments to indicate
which axis is being jogged with the MPG. </p>
<h2>SCALE SELECT</h2>
<p>A HAL float input pin is created to allow the handler file to display the currently selected jog scale setting of the MPG.
Connections from the MPG to a mux4 HAL component are made in a <i>mpg.hal</i> file and the output of the mux4 is connected
to WoodPecker in order to display the currently selected MPG scale value.</p>
<h2>MPG DISABLE</h2>
<p>A HAL output pin is created to disable the MPG encoder if the Use MPG checkbox is unchecked. This will also hide the 
MPG Scale display from the WoodPecker screen.</p>
</body>
</html>
